package com.gufe.mapper.user.mp;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gufe.entity.Swiper;
import com.gufe.vo.SwiperVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WxSwiperMapper extends BaseMapper<Swiper>{
    /*查询所有的轮播图图片及描述*/
    @Select("select id,img,text from index_slider")
     List<SwiperVO> getAllIndexImg();

}
